Get rid of all the manual purecopy calls in menu-bar definitions.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 27 Jun 2012 21:15:13 +0000 (17:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 27 Jun 2012 21:15:13 +0000 (17:15 -0400)
commit0502b1fac5cef6caeb85e77969de53e0dec94b12
tree42b1c37b34f91031bf0131dcde17847193c58933
parent45b8ea3172161de6cbed2be21d60c0710f8b0bc5
Get rid of all the manual purecopy calls in menu-bar definitions.
* lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the
memory use.
* lisp/bindings.el (bindings--define-key): New function.
* lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el:
* lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el:
* lisp/buff-menu.el, lisp/bookmark.el:
* bindings.el: Use it to purecopy define-key bindings.
* src/fns.c (maybe_resize_hash_table): Output message when growing the
purify-hashtable.
14 files changed:
lisp/ChangeLog
lisp/bindings.el
lisp/bookmark.el
lisp/buff-menu.el
lisp/emacs-lisp/lisp-mode.el
lisp/international/mule-cmds.el
lisp/loadup.el
lisp/menu-bar.el
lisp/replace.el
lisp/vc/vc-hooks.el
src/ChangeLog
src/data.c
src/fns.c
src/puresize.h